<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%-- 在jsp页面获取存储在session中的用户名  --%>
<%
    String userName = (String) request.getSession().getAttribute("userName");
%>
欢迎您，<%= userName%> <br/>
<span>在线人数${applicationScope.count}</span>
<a href="loginOut">退出</a>

</body>
</html>
